package com.shidaimanong.demo.calc;

/**
 * 学编程，关注：十代码农
 * 抖音、快手、B站、西瓜视频、今日头条
 */
public class CalcDemo4 {
    public static void main(String[] args) {
        boolean x = true;
        boolean y = false;
        System.out.println("x && y = " + (x && y));
        System.out.println("x || y = " + (x || y));
        System.out.println("!(x && y) = " + !(x && y));
    }
}